/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 */
package com.jeesite.modules.vehicle.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 测试数据Entity
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name="h_car", alias="a", columns={
		@Column(name="car_id", attrName="carId", label="主键id", isPK=true),
		@Column(name="type_id", attrName="typeId", label="类型id"),
		@Column(name="car_title", attrName="carTitle", label="名称", queryType=QueryType.LIKE),
		@Column(name="brand", attrName="brand", label="品牌"),
		@Column(name="sell_price", attrName="sellPrice", label="售卖价格"),
		@Column(name="kilometer", attrName="kilometer", label="公里数"),
		@Column(name="cover_url", attrName="coverUrl", label="封面照片"),
		@Column(name="transfers", attrName="transfers", label="过户次数", isUpdateForce=true),
		@Column(name="register_date", attrName="registerDate", label="上户日期", isUpdateForce=true),
		@Column(name="cylinder", attrName="cylinder", label="汽缸"),
		@Column(name="car_label", attrName="carLabel", label="车辆标签"),
		@Column(name="explain", attrName="explain", label="详细说明"),
		@Column(name="car_status", attrName="carStatus", label="状态（0已通过 1已删除 2已下架 3待审核 4未通过 9已撤销）"),
		@Column(name="create_by", attrName="createBy", label="创建者", isUpdate=false),
		@Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false),
		@Column(name="update_by", attrName="updateBy", label="更新者"),
		@Column(name="update_date", attrName="updateDate", label="更新时间"),
		@Column(name="remarks", attrName="remarks", label="备注信息"),
	}, orderBy="a.update_date DESC"
)
public class CarApi extends DataEntity<CarApi> {
	
	private static final long serialVersionUID = 1L;
	private String carId;	// 主键id
	private String carTitle;	// 标题
	private String carLabel;	// 标签
	private String kilometer;	// 公里数
	private String brand;	// 品牌
	private Integer sellPrice;	// 售价
	private String coverUrl;	// 封面
	private String transfers;	// 过户次数
	private String applyDate;	// 上户日期
	private String cylinder;	// 汽缸
	private String company;		// 公司
	private String explain;		// 详细说明
	private String registerDate;		// 上户日期
	private String showDate;		// 显示上户日期
	private String imageUrl;	// 图片地址
	private String imageType;	// 类型（0轮播图 1详情图）
	private String typeId;	// 类型id
	private String typeName;	// 类型名称
	private String bigType;	// 大类型
	private String showSellPrice;	// 显示价格
	private String queryInfo;	// 查询信息
	private String seat;	// 移动端判断
	private String prefix;	// 路径
	private String foreignId;	// 外键
	private String carStatus;		// 查询状态

	public CarApi() {
		this(null);
	}

	public CarApi(String id){
		super(id);
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public String getCarTitle() {
		return carTitle;
	}

	public void setCarTitle(String carTitle) {
		this.carTitle = carTitle;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

    public Integer getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(Integer sellPrice) {
        this.sellPrice = sellPrice;
    }

    public String getCoverUrl() {
		return coverUrl;
	}

	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}

	public String getTransfers() {
		return transfers;
	}

	public void setTransfers(String transfers) {
		this.transfers = transfers;
	}

	public String getApplyDate() {
		return applyDate;
	}

	public void setApplyDate(String applyDate) {
		this.applyDate = applyDate;
	}

	public String getCylinder() {
		return cylinder;
	}

	public void setCylinder(String cylinder) {
		this.cylinder = cylinder;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getImageType() {
		return imageType;
	}

	public void setImageType(String imageType) {
		this.imageType = imageType;
	}

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getShowSellPrice() {
		return showSellPrice;
	}

	public void setShowSellPrice(String showSellPrice) {
		this.showSellPrice = showSellPrice;
	}

	public String getCarLabel() {
		return carLabel;
	}

	public void setCarLabel(String carLabel) {
		this.carLabel = carLabel;
	}

	public String getKilometer() {
		return kilometer;
	}

	public void setKilometer(String kilometer) {
		this.kilometer = kilometer;
	}

	public String getQueryInfo() {
		return queryInfo;
	}

	public void setQueryInfo(String queryInfo) {
		this.queryInfo = queryInfo;
	}

    public String getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(String registerDate) {
        this.registerDate = registerDate;
    }

	public String getBigType() {
		return bigType;
	}

	public void setBigType(String bigType) {
		this.bigType = bigType;
	}

	public String getSeat() {
		return seat;
	}

	public void setSeat(String seat) {
		this.seat = seat;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getForeignId() {
		return foreignId;
	}

	public void setForeignId(String foreignId) {
		this.foreignId = foreignId;
	}

	public String getCarStatus() {
		return carStatus;
	}

	public void setCarStatus(String carStatus) {
		this.carStatus = carStatus;
	}

	public String getShowDate() {
		return showDate;
	}

	public void setShowDate(String showDate) {
		this.showDate = showDate;
	}

	public String getExplain() {
		return explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}
}